.class Lcom/example/m6wmr/ZuocartActivity$1;
.super Landroid/os/Handler;
.source "ZuocartActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ZuocartActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ZuocartActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ZuocartActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    .line 111
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 11
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const v10, 0x7f0200df

    const v9, 0x7f020052

    const/4 v8, 0x1

    .line 113
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 114
    iget v6, p1, Landroid/os/Message;->arg1:I

    packed-switch v6, :pswitch_data_0

    .line 176
    :goto_0
    :pswitch_0
    return-void

    .line 118
    :pswitch_1
    iget-object v6, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    const-string v7, "nologin"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 119
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    invoke-virtual {v6}, Lcom/example/m6wmr/ZuocartActivity;->waitlogin()V

    goto :goto_0

    .line 121
    :cond_0
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    # getter for: Lcom/example/m6wmr/ZuocartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ZuocartActivity;->access$0(Lcom/example/m6wmr/ZuocartActivity;)Landroid/content/Context;

    move-result-object v6

    const-string v7, "\u63d0\u793a\u4fe1\u606f"

    iget-object v8, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v8}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v6, v7, v8}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 125
    :pswitch_2
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    # getter for: Lcom/example/m6wmr/ZuocartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ZuocartActivity;->access$0(Lcom/example/m6wmr/ZuocartActivity;)Landroid/content/Context;

    move-result-object v6

    const-string v7, "\u4fe1\u606f\u63d0\u793a"

    const-string v8, "\u6570\u636e\u683c\u5f0f\u9519\u8bef"

    invoke-static {v6, v7, v8}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 128
    :pswitch_3
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    # getter for: Lcom/example/m6wmr/ZuocartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ZuocartActivity;->access$0(Lcom/example/m6wmr/ZuocartActivity;)Landroid/content/Context;

    move-result-object v6

    const-string v7, "\u4fe1\u606f\u63d0\u793a"

    const-string v8, "\u8d2d\u7269\u8f66\u6570\u636e\u9519\u8bef"

    invoke-static {v6, v7, v8}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 131
    :pswitch_4
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    # getter for: Lcom/example/m6wmr/ZuocartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ZuocartActivity;->access$0(Lcom/example/m6wmr/ZuocartActivity;)Landroid/content/Context;

    move-result-object v6

    const-string v7, "\u4fe1\u606f\u63d0\u793a"

    const-string v8, "\u8d2d\u7269\u8f66\u6570\u636e\u4e3a\u7a7a"

    invoke-static {v6, v7, v8}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 137
    :pswitch_5
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    invoke-static {v6, v8}, Lcom/example/m6wmr/ZuocartActivity;->access$1(Lcom/example/m6wmr/ZuocartActivity;Z)V

    goto :goto_0

    .line 140
    :pswitch_6
    const-string v6, "zuocartACtivity"

    const-string v7, "\u8c03\u7528\u6309\u94ae\u5207\u6362"

    invoke-static {v6, v7}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 141
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    iget-object v6, v6, Lcom/example/m6wmr/ZuocartActivity;->mycartstep1:Landroid/view/View;

    const v7, 0x7f0c023d

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 142
    .local v4, "payxianjinbtn":Landroid/widget/ImageView;
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    iget-object v6, v6, Lcom/example/m6wmr/ZuocartActivity;->mycartstep1:Landroid/view/View;

    const v7, 0x7f0c023f

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    .line 143
    .local v3, "paylinebtn":Landroid/widget/ImageView;
    iget-object v6, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I

    move-result v6

    if-ne v6, v8, :cond_1

    .line 144
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    # getter for: Lcom/example/m6wmr/ZuocartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ZuocartActivity;->access$0(Lcom/example/m6wmr/ZuocartActivity;)Landroid/content/Context;

    move-result-object v6

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    .line 145
    .local v5, "resources":Landroid/content/res/Resources;
    invoke-virtual {v5, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 146
    .local v0, "btnDrawable":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v4, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 148
    invoke-virtual {v5, v9}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 149
    .local v1, "btnDrawables":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 150
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    const-string v7, "0"

    invoke-static {v6, v7}, Lcom/example/m6wmr/ZuocartActivity;->access$2(Lcom/example/m6wmr/ZuocartActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 153
    .end local v0    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    .end local v1    # "btnDrawables":Landroid/graphics/drawable/Drawable;
    .end local v5    # "resources":Landroid/content/res/Resources;
    :cond_1
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    # getter for: Lcom/example/m6wmr/ZuocartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ZuocartActivity;->access$0(Lcom/example/m6wmr/ZuocartActivity;)Landroid/content/Context;

    move-result-object v6

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    .line 154
    .restart local v5    # "resources":Landroid/content/res/Resources;
    invoke-virtual {v5, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 155
    .restart local v0    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 157
    invoke-virtual {v5, v9}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 158
    .restart local v1    # "btnDrawables":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v4, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 159
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    const-string v7, "1"

    invoke-static {v6, v7}, Lcom/example/m6wmr/ZuocartActivity;->access$2(Lcom/example/m6wmr/ZuocartActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 166
    .end local v0    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    .end local v1    # "btnDrawables":Landroid/graphics/drawable/Drawable;
    .end local v3    # "paylinebtn":Landroid/widget/ImageView;
    .end local v4    # "payxianjinbtn":Landroid/widget/ImageView;
    .end local v5    # "resources":Landroid/content/res/Resources;
    :pswitch_7
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 167
    .local v2, "intent":Landroid/content/Intent;
    const-string v6, "orderid"

    iget-object v7, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v2, v6, v7}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 168
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    const-class v7, Lcom/wmr/order/OrderDetFrameActivity;

    invoke-virtual {v2, v6, v7}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 169
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    invoke-virtual {v6, v2}, Lcom/example/m6wmr/ZuocartActivity;->startActivity(Landroid/content/Intent;)V

    .line 170
    iget-object v6, p0, Lcom/example/m6wmr/ZuocartActivity$1;->this$0:Lcom/example/m6wmr/ZuocartActivity;

    invoke-virtual {v6}, Lcom/example/m6wmr/ZuocartActivity;->finish()V

    goto/16 :goto_0

    .line 114
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_3
        :pswitch_4
        :pswitch_0
        :pswitch_0
        :pswitch_6
        :pswitch_0
        :pswitch_0
        :pswitch_5
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_7
    .end packed-switch
.end method
